package com.pig4cloud.pigx.contract.constant;

/**
 * Redis缓存key常量声明
 *
 * @since 2022/8/15 19:22
 */
public interface ContractRedisKeyConstants {
	/**
	 * 计算k线分布式锁
	 */
	String CALCULATE_K_LINE_LOCK = "calculate_k_line_lock";
	/**
	 * 挂单计数
	 */
	String ORDER_PENDING_COUNT = "contract:order:pending_count";
	/**
	 * 条件挂单计数
	 */
	String ORDER_CONDITION_PENDING_COUNT = "contract:order:condition_pending_count";
	/**
	 * 当前总持仓数量累计
	 */
	String POSITION_TOTAL_NUM = "contract:position:total_num";
}
